package org.example.web.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.web.domain.Dept;

import java.util.List;

@Mapper
public interface DeptMapper {
    List<Dept> selectAllDept();

    void deleteById(String id);

    void insertDept(Dept dept);

    Dept selectById(String id);

    void updateDept(Dept dept);
}
